package com.loan.service.impl;


import com.loan.dal.entity.InCustomerDO;
import com.loan.manager.InCustomerManager;
import com.loan.service.InCustomerService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class InCustomerServiceImpl implements InCustomerService {
     @Autowired
     private InCustomerManager inCustomerManager;

    @Override
    public Integer addInCustomers(InCustomerDO inCustomer) {

        return inCustomerManager.addInCustomer(inCustomer);
    }

    @Override
    public InCustomerDO queryById(Integer userId) {
        return inCustomerManager.selectById(userId);
    }

    @Override
    public Integer modifyCustomers(InCustomerDO inCustomer) {
        return inCustomerManager.modifyInCustomer(inCustomer);
    }
}
